package com.ruoqing.inform.service.api;

import com.ruoqing.core.vo.inform.SmsResponseVo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


/**
	* @author YaoXian
	* @title: PhoneCodeService
	* @projectName ruoxi-blog
	* @description: 若兮微服务 - 通知服务 - 手机短信通知接口
	* @date 2020-11-04 20:45
	*/
public interface PhoneCodeService {
		/**
			* 发送手机验证码
			* @param phoneNumber 手机号
			* @param signName    短信签名
			* @param templateCode 短信模板
			* @param code 验证码
			* @return Map<String,String>
			* @throws Exception
			*/
		@GetMapping(path = "/sendMobileCode")
		SmsResponseVo sendMobileCode(@RequestParam("phoneNumber") String phoneNumber, @RequestParam("signName") String signName, @RequestParam("templateCode") String templateCode, @RequestParam("code") String code) throws Exception;
}
